# Contributor: Iskren Chernev <iskren.chernev@gmail.com>
# Maintainer: Iskren Chernev <iskren.chernev@gmail.com>
pkgname=py3-rfc3987
pkgver=1.3.8
pkgrel=4
pkgdesc="Parsing and validation of URIs (RFC 3896) and IRIs (RFC 3987)"
url="https://github.com/dgerber/rfc3987"
arch="noarch"
license="GPL-3.0-or-later"
depends="python3"
makedepends="py3-setuptools"
subpackages="$pkgname-pyc"
source="$pkgname-$pkgver.tar.gz::https://pypi.io/packages/source/r/rfc3987/rfc3987-$pkgver.tar.gz"
builddir="$srcdir/rfc3987-$pkgver"

options="!check" # No tests

build() {
	python3 setup.py build
}

package() {
	python3 setup.py install --skip-build --root="$pkgdir"
}
sha512sums="0e81b8dbc8c410f08b1efa7ee1c90174ed6e70bf7622d3748f598d383583b439908e1b5da1e1a1eb22af4f214ae08680a29f00b253f37808034bae8a1808c32c  py3-rfc3987-1.3.8.tar.gz"
